<?php
/*
 +----------------------------------------------------------------------
 + Title        : SettingController 控制器
 + Author       : Randy_chen
 + Version      : V1.0.0.1
 + Initial-Time : 2022/2/22 7:34
 + Last-time    : 2022/2/22 7:34+ chen2
 + Desc         : SettingController
 +----------------------------------------------------------------------
*/


namespace app\api\controller;

use app\BaseController;

class SettingController extends BaseController
{
    public function index($key){
        $value = get_setting($key);
        return $this->returnSuccess($value);
    }
}